import vuex from 'vuex'
import vue from 'vue'
vue.use(vuex)

// 引入home的vuex数据
import home from '@/Store/home'

import search from '@/Store/search'

import detail from '@/Store/detail'

import cartList from '@/Store/cartList'

import user from '@/Store/user'


export default new vuex.Store({
    //开启模板
    modules:{
        home,
        search,
        detail,
        cartList,
        user
    }
})